/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DatabasePOJO;

/**
 *
 * @author Mr-Nguyen
 */
public class sanpham {
    
    //<editor-fold defaultstate="collapsed" desc="1.Khai báo thuộc tính.">
    private String MaSanPham;
    private String Title;
    private String DiemNoiBat;
    private String DieuKienApDung;
    private String GiaBan;
    private String GiaKhuyenMai;
    private String LuotMua;
    private String MaCuaHang;
    private String MaLinhVuc;
    private String MaChiTiet;
    private String NgayHetHang;
    private String HinhDaiDien;
    private String BanChay;
    private String isDelete;
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="2.Phương thức getter/setter.">
    public void setBanChay(String BanChay) {
        this.BanChay = BanChay;
    }

    public String getDiemNoiBat() {
        return DiemNoiBat;
    }

    public void setDiemNoiBat(String DiemNoiBat) {
        this.DiemNoiBat = DiemNoiBat;
    }

    public String getDieuKienApDung() {
        return DieuKienApDung;
    }

    public void setDieuKienApDung(String DieuKienApDung) {
        this.DieuKienApDung = DieuKienApDung;
    }

    public String getGiaBan() {
        return GiaBan;
    }

    public void setGiaBan(String GiaBan) {
        this.GiaBan = GiaBan;
    }

    public String getGiaKhuyenMai() {
        return GiaKhuyenMai;
    }

    public void setGiaKhuyenMai(String GiaKhuyenMai) {
        this.GiaKhuyenMai = GiaKhuyenMai;
    }

    public String getHinhDaiDien() {
        return HinhDaiDien;
    }

    public void setHinhDaiDien(String HinhDaiDien) {
        this.HinhDaiDien = HinhDaiDien;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getLuotMua() {
        return LuotMua;
    }

    public void setLuotMua(String LuotMua) {
        this.LuotMua = LuotMua;
    }

    public String getMaChiTiet() {
        return MaChiTiet;
    }

    public void setMaChiTiet(String MaChiTiet) {
        this.MaChiTiet = MaChiTiet;
    }

    public String getMaCuaHang() {
        return MaCuaHang;
    }

    public void setMaCuaHang(String MaCuaHang) {
        this.MaCuaHang = MaCuaHang;
    }

    public String getMaLinhVuc() {
        return MaLinhVuc;
    }

    public void setMaLinhVuc(String MaLinhVuc) {
        this.MaLinhVuc = MaLinhVuc;
    }

    public String getMaSanPham() {
        return MaSanPham;
    }

    public void setMaSanPham(String MaSanPham) {
        this.MaSanPham = MaSanPham;
    }

    public String getNgayHetHang() {
        return NgayHetHang;
    }

    public void setNgayHetHang(String NgayHetHang) {
        this.NgayHetHang = NgayHetHang;
    }

    public String getTitle() {
        return Title;
    }

    public void setTitle(String Title) {
        this.Title = Title;
    }
    public String getBanChay() {
        return BanChay;
    }
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="3.Phương thức khỏi tạo.">
    public sanpham(String MaSanPham, String Title, String DiemNoiBat, String DieuKienApDung, String GiaBan, String GiaKhuyenMai, String LuotMua, String MaCuaHang, String MaLinhVuc, String MaChiTiet, String NgayHetHang, String HinhDaiDien, String BanChay, String isDelete) {
        this.MaSanPham = MaSanPham;
        this.Title = Title;
        this.DiemNoiBat = DiemNoiBat;
        this.DieuKienApDung = DieuKienApDung;
        this.GiaBan = GiaBan;
        this.GiaKhuyenMai = GiaKhuyenMai;
        this.LuotMua = LuotMua;
        this.MaCuaHang = MaCuaHang;
        this.MaLinhVuc = MaLinhVuc;
        this.MaChiTiet = MaChiTiet;
        this.NgayHetHang = NgayHetHang;
        this.HinhDaiDien = HinhDaiDien;
        this.BanChay = BanChay;
        this.isDelete = isDelete;
    } 
    public sanpham() {
        this.MaSanPham = "";
        this.Title = "";
        this.DiemNoiBat = "";
        this.DieuKienApDung = "";
        this.GiaBan = "";
        this.GiaKhuyenMai = "";
        this.LuotMua = "";
        this.MaCuaHang = "";
        this.MaLinhVuc = "";
        this.MaChiTiet = "";
        this.NgayHetHang = "";
        this.HinhDaiDien = "";
        this.BanChay = "";
        this.isDelete = "";
    }
    public sanpham(sanpham sp) {
        this.MaSanPham = sp.getMaSanPham();
        this.Title = sp.getTitle();
        this.DiemNoiBat = sp.getDiemNoiBat();
        this.DieuKienApDung = sp.getDieuKienApDung();
        this.GiaBan = sp.getGiaBan();
        this.GiaKhuyenMai = sp.getGiaKhuyenMai();
        this.LuotMua = sp.getLuotMua();
        this.MaCuaHang = sp.getMaCuaHang();
        this.MaLinhVuc = sp.getMaLinhVuc();
        this.MaChiTiet = sp.getMaChiTiet();
        this.NgayHetHang = sp.getNgayHetHang();
        this.HinhDaiDien = sp.getHinhDaiDien();
        this.BanChay = sp.getBanChay();
        this.isDelete = isDelete;
    } 
    //</editor-fold>

   

   
}
